@charset "utf-8";

@import "common/reset";

$margin: 0 auto;
$width: 1240px;

body{
    font-family: "PingFang SC", "\5FAE\8F6F\96C5\9ED1", "Microsoft Yahei", Arial, Helvetica, sans-serif, "\5B8B\4F53";
}
.web{
//  width: 1240px;
    margin:$margin;
    font-family: "PingFang SC","\5FAE\8F6F\96C5\9ED1","Microsoft Yahei",Arial,Helvetica,sans-serif,"\5B8B\4F53";
}
header{
    width: 100%;
    position: relative;
    .header_wrap{
        width: 1240px;
        margin: $margin;
        .meizu_header{
            height: 82px;
            padding-top: 25px;
            .logo_warp{
                    width: 116px;
                    height: 26px;
                    float: left;
                    margin-right: 135px;
                    a{
                        list-style: none;
                    }
                    .iconfont-link{
                        color: #00C3F5;
                        .iconfont{
                            font-size: 24px;
                        }
                    }
            }
            .nav{
                float: left;
                ul{
                    li{
                        height: 55px;
                        display:inline-block;
                        margin-right: 23px;
                        a{
                            font-size: 14px;
                            list-style: none;
                            color: #000000;
                            transition: color .5s;
                            &:hover{
                                color: #00c3f5;
                            }
                        }
                        &:hover .meilan_phone_child{
                            height: 150px;
                            visibility: visible;
                            opacity: 1;
                        }
                        .meilan_phone_child{
                            opacity: 0;
                            visibility: hidden;
                            position: absolute;
                            left: 0;
                            top: 80px;
                            width: 100%;
                            height: 0;
                            font-size: 12px;
                            text-align: center;
                            z-index: 998;
                            padding-top: 30px;
                            background-color: #fff;
                            transition: all .3s ease-in-out;
                            overflow: hidden;
                            .nav_sec_menu_wrap{
                                width: 1240px;
                                margin: 0 auto;
                                .nav_sec_menu{
                                    position: relative;
                                    animation: items .5s ease-in-out;
                                        animation-fill-mode: both;
                                        animation-delay: 23.08ms;
                                    .nav_sec_menu_items{
                                        width: 132px;
                                        height: 132px;
                                        text-align: center;
                                        .product_wrap{
                                            opacity: 1;
                                            transition: opacity .3s ease-in-out;
                                            .nav_img_wrap{
                                                height: 80px;
                                                width: 80px;
                                                margin-left: 25px;
                                                img{
                                                    height: 100%;
                                                    width: 100%;
                                                    margin: 0 auto;
                                                    opacity: 1;
                                                    transition: opacity .3s ease-in-out;
                                                }
                                            }
                                            .layout-header-nav-child-name{
                                                font-size: 12px;
                                                color: #333;
                                                opacity: 1;
                                                transition: opacity .3s ease-in-out;
                                            }
                                            .layout-header-nav-child-bottom{
                                                color: #666;
                                                font-size: 12px;
                                                opacity: 1;
                                                transition: opacity .3s ease-in-out;
                                                .layout-header-nav-child-price{
                                                    color: #666;
                                                    font-size: 12px;
                                                    opacity: 1;
                                                    transition: opacity .3s ease-in-out;
                                                }
                                            }
                                        }
                                        .nav_sec_menu_items:last-of-type{
                                            margin-right: 0;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
            .search{
                    width: 310px;
                    float: right;
                    margin-top: -5px;
                form{
                    display: inline-block;
                    margin-right: 32px;
                    .search_text{
                        height: 32px;
                        width: 182px;
                        border: 1px solid #f4f4f4;
                        border-radius: 20px;
                        padding-left: 15px;
                        padding-top: 2px;
                        input{
                            overflow: hidden;
                            font-size: 12px;
                            display: inline-block;
                            vertical-align: middle;
                            line-height: 14px;
                            width: 130px;
                            border: none;
                        }
                        .search_l_icon{
                            display: inline-block;
                            vertical-align: middle;
                        }
                    }
                } 
                .service_warp{
                    position: relative;
                    height: 24px;
                    width: 24px;
                    display: inline-block;
                    vertical-align: middle;
                    margin-right: 30px;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                    &:hover .login-warp{
                           height: 140px;
                        }
                    .login-warp{
                        position: absolute;
                        left: -35px;
                        top: 24px;
                        height: 0;
                        width: 98px;
                        background: white;
                        z-index: 999;
                        transition: all .2s linear;
                        overflow: hidden;
                        text-align: center;
                            a{
                                height: 24px;
                                line-height: 24px;
                                font-size: 14px;
                                display: block;
                                list-style: none;
                                color: #666666;
                                margin-top: 10px;
                                transition: all .2s linear;
                                &:hover{
                                    color: #00c3f5;
                                    background: #666666;
                                }
                            }
                    }
                }
                .shopping_cart_watp{
                    display: inline-block;
                    vertical-align: middle;
                }
            }
            
        }
    }
}
.line{
    height: 1px;
    width: 100%;
    background: #efefef;
}
footer{
    width: 1240px;
    margin: $margin;
    margin-bottom: 20px;
    .footer_menu{
        padding-top: 60px;
        margin-bottom: 40px;
        ul{
            display: inline-block;
            height: 93px;
            width: 165px;
            margin-right: 50px;
            li{
                line-height: 35px;
                margin-bottom: 25px;
                .footer_icon{
                    list-style: none;
                    display: inline-block;
                    vertical-align: middle;
                    height: 28px;
                    width: 28px;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
                a{
                    list-style: none;
                    display: inline-block;
                    vertical-align: middle;
                    color: #99999b;
                    font-size: 14px;
                }
            }
        }
        ul:nth-of-type(2){
            display: inline-block;
            margin-right: 92px;
        }
        ul:nth-of-type(3){
            display: inline-block;
            margin-right: 115px;
        }
        .right_f{
            text-align: right;
            height: 100px;
            width: 145px;
            float: right;
            padding-top: 5px;
            p{
                color: #9a9999;
                font-size: 12px;
                text-align: right;   
            }
            h4{
                color: #00C3F5;
                font-size: 18px;
                text-align: right;
            }
            .service_down{
                margin-top: 5px;
                display: inline-block;
                text-align: center;
                height: 40px;
                width: 145px;
                border-radius: 5px;
                background: #00C3F5;
                padding-top: 7px;
                transition: background-color .5s;
                .service_down_icon{
                    height: 20px;
                    width: 20px;
                    display:inline-block;
                    vertical-align: middle;
                    img{
                        width: 100%;
                        height: 100%;
                        background: none;
                    }
                }
                p{
                    color: #FFFFFF;
                    white-space: nowrap;
                    display: inline-block;
                    vertical-align: middle;
                }
                &:hover{
                    background-color: #40D2F8;
                }
            }
        }
    }
    .down_menu{
        border-top: 1px solid #f5f5f5;
        padding-top: 20px;
        ol{
            li{
                padding-left: 14px;
                padding-right: 14px;
                float: left;
                border-right: 1px solid #efefef;
                a{
                    list-style: none;
                    font-size: 12px;
                    color: #9c99af;
                }
            }
            li:first-of-type{
                padding-left: 0;
            }
            li:last-of-type{
                border: none;
            }
        }
    }
    .down_wen{
        margin-top: 15px;
        display: inline-block;
        p{
            display: inline-block;
            vertical-align: middle;
            font-size: 12px;
            color: #a59d99;
        }
        a{
           font-size: 12px;
           color: #a59d99; 
        }
        .lianxi{
            width: 60px;
            height: 20px;
            display: inline-block;
            vertical-align: middle;
            .lianxi_1{
                float: left;
                width: 20px;
                height: 20px;
                background: url(.././images/down_1_1.png) no-repeat;
                a{
                    height: 100%;
                    width: 100%;
                    display: block;
                }
                &:hover{
                    background: url(.././images/down_1_2.png) no-repeat;
                }
            }
            .lianxi_2{
                float: left;
                width: 20px;
                height: 20px;
                background: url(.././images/down_2_1.png) no-repeat;
                a{
                    height: 100%;
                    width: 100%;
                    display: block;
                }
                &:hover{
                    background: url(.././images/down_2_2.png) no-repeat;
                }
            }
            .lianxi_3{
                float: left;
                width: 20px;
                height: 20px;
                background: url(.././images/down_3_1.png) no-repeat;
                a{
                    height: 100%;
                    width: 100%;
                    display: block;
                }
                &:hover{
                    background: url(.././images/down_3_2.png) no-repeat;
                }
            }
        }
        .share{
            float: right;
            margin-left: 175px;
            a{
                display: inline-block;
                margin-right: 13px;
                border-right: 1px solid #FAFAFA;
            }
            .icon-link{
                border-right: 1px solid #efefef;
                line-height: 10px;
                padding-right: 5px;
                &:last-of-type{
                    border: none;
                }
                .iconfont{
                    color: #999;
                    font-size: 20px;
                    vertical-align: middle;
                    transition: color .5s;
                }
                &:hover .icon-weibo{
                    color: #ff6c6c;
                }
                &:hover .icon-weixin{
                    color: #6fc749;
                }
                &:hover .icon-qqkongjian{
                    color: #ecc337;
                }
            }
        }
    }
}
@keyframes items{
    form{
        opacity: 0;
        left: 50px;
    }
    to{
        opacity: 1;
        left: 0;
    }
}
